.deepseek-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #ffffff;

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
        border-bottom: 1px solid #e8e8e8;
        background-color: #fff;

        .logo {
            font-size: 18px;
            font-weight: bold;
            color: #333;
        }

        .header-right {
            color: #666;
        }
    }

    .main-content {
        display: flex;
        flex: 1;
        overflow: hidden;

        .sidebar {
            width: 260px;
            border-right: 1px solid #e8e8e8;
            display: flex;
            flex-direction: column;
            background-color: #fafafa;

            .new-chat-btn {
                margin: 16px;
                width: calc(100% - 32px);
            }

            .today-section {
                padding: 0 16px;

                .date-label {
                    color: #999;
                    font-size: 12px;
                    margin-bottom: 8px;
                }

                .chat-item {
                    padding: 8px 12px;
                    border-radius: 6px;
                    cursor: pointer;
                    margin-bottom: 4px;
                    color: #666;

                    &:hover {
                        background-color: #f0f0f0;
                    }

                    &.active {
                        background-color: #e6f7ff;
                        color: #1890ff;
                    }
                }
            }

            .profile-section {
                margin-top: auto;
                padding: 16px;

                .download-app {
                    width: 100%;
                    margin-bottom: 16px;
                    position: relative;

                    .new-tag {
                        position: absolute;
                        top: -8px;
                        right: -8px;
                        background-color: #ff4d4f;
                        color: white;
                        font-size: 12px;
                        padding: 2px 6px;
                        border-radius: 10px;
                    }
                }

                .profile-info {
                    display: flex;
                    align-items: center;
                    cursor: pointer;

                    .avatar {
                        width: 32px;
                        height: 32px;
                        border-radius: 50%;
                        background-color: #d9d9d9;
                        margin-right: 8px;
                    }

                    span {
                        color: #666;
                    }
                }
            }
        }

        .chat-area {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;

            .chat-messages {
                flex: 1;
                overflow-y: auto;
                padding: 24px;
                display: flex;
                flex-direction: column;
                gap: 24px;

                .message {
                    max-width: 80%;
                    display: flex;
                    flex-direction: column;

                    &.user-message {
                        align-self: flex-end;
                    }

                    &.assistant-message {
                        align-self: flex-start;
                    }

                    .message-content {
                        padding: 12px 16px;
                        border-radius: 8px;
                        background-color: #f5f5f5;
                        position: relative;

                        .message-text {
                            white-space: pre-wrap;
                            word-break: break-word;
                        }

                        .message-actions {
                            position: absolute;
                            bottom: 0;
                            right: 10px;
                            display: block;
                            gap: 4px;
                        }

                        &:hover .message-actions {
                            display: flex;
                        }

                        .action-btn {
                            background: none;
                            border: none;
                            padding: 4px;
                            cursor: pointer;
                            color: #999;
                            border-radius: 4px;

                            &:hover {
                                background-color: #e8e8e8;
                                color: #666;
                            }
                        }
                    }

                    &.user-message .message-content {
                        background-color: #e6f7ff;
                    }
                }
            }

            .input-area {
                padding: 16px;
                border-top: 1px solid #e8e8e8;
                background-color: #fff;

                .input-container {
                    position: relative;

                    .enhanced-input {
                        border-radius: 8px;
                        resize: none;
                        padding: 12px;
                        font-size: 14px;
                        line-height: 1.5;
                    }

                    .input-actions {
                        display: flex;
                        align-items: center;
                        margin-top: 8px;
                        gap: 8px;

                        .model-selector,
                        .web-search {
                            border-radius: 6px;
                            height: 32px;
                        }

                        .send-button {
                            transition: all 0.3s;

                            &:hover {
                                transform: translateY(-1px);
                            }
                        }
                    }
                }
            }
        }
    }
}
